﻿
namespace Patterns4Net.ArchitectureExplorer.ViewModels
{
    using System.Collections.Generic;
    using System.Windows.Controls;
    using Diagram;

    public class PatternDocumentationViewModel
    {
        public PatternDocumentationViewModel(string title, TextBlock documentation)
        {
            this.Title = title;
            this.Documentation = documentation;
        }

        public string Title { get; private set; }

        public IEnumerable<MethodInfo> Methods { get; set; }

        public TextBlock Documentation { get; private set; }

        public override string ToString()
        {
            return this.Title;
        }
    }
}
